package com.ruoyi.handing.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 伦理审核对象 algs_ethical_review
 * 
 * @author ruoyi
 * @date 2023-03-17
 */
public class AlgsEthicalReview extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 审核ID */
    private Long ethicalReviewId;

    /** 审核编号 */
    @Excel(name = "审核编号")
    private String ethicalReviewNumber;

    /** 待审核新实验ID（外键） */
    @Excel(name = "待审核新实验ID", readConverterExp = "外=键")
    private Long newExperimentId;

    /** 审核状态（外键） */
    @Excel(name = "审核状态", readConverterExp = "外=键")
    private Long typeId;

    /** 审核时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "审核时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date ethicalReviewDate;

    /** 备用列 */
    @Excel(name = "备用列")
    private String ethicalReviewBy1;

    /** 备用列 */
    @Excel(name = "备用列")
    private String ethicalReviewBy2;

    /** 备用列 */
    @Excel(name = "备用列")
    private String ethicalReviewBy3;

    /** 审核员工ID（外键） */
    @Excel(name = "审核员工ID", readConverterExp = "外=键")
    private Long staffId;

    public void setEthicalReviewId(Long ethicalReviewId) 
    {
        this.ethicalReviewId = ethicalReviewId;
    }

    public Long getEthicalReviewId() 
    {
        return ethicalReviewId;
    }
    public void setEthicalReviewNumber(String ethicalReviewNumber) 
    {
        this.ethicalReviewNumber = ethicalReviewNumber;
    }

    public String getEthicalReviewNumber() 
    {
        return ethicalReviewNumber;
    }
    public void setNewExperimentId(Long newExperimentId) 
    {
        this.newExperimentId = newExperimentId;
    }

    public Long getNewExperimentId() 
    {
        return newExperimentId;
    }
    public void setTypeId(Long typeId) 
    {
        this.typeId = typeId;
    }

    public Long getTypeId() 
    {
        return typeId;
    }
    public void setEthicalReviewDate(Date ethicalReviewDate) 
    {
        this.ethicalReviewDate = ethicalReviewDate;
    }

    public Date getEthicalReviewDate() 
    {
        return ethicalReviewDate;
    }
    public void setEthicalReviewBy1(String ethicalReviewBy1)
    {
        this.ethicalReviewBy1 = ethicalReviewBy1;
    }

    public String getEthicalReviewBy1()
    {
        return ethicalReviewBy1;
    }
    public void setEthicalReviewBy2(String ethicalReviewBy2) 
    {
        this.ethicalReviewBy2 = ethicalReviewBy2;
    }

    public String getEthicalReviewBy2() 
    {
        return ethicalReviewBy2;
    }
    public void setEthicalReviewBy3(String ethicalReviewBy3) 
    {
        this.ethicalReviewBy3 = ethicalReviewBy3;
    }

    public String getEthicalReviewBy3() 
    {
        return ethicalReviewBy3;
    }
    public void setStaffId(Long staffId) 
    {
        this.staffId = staffId;
    }

    public Long getStaffId() 
    {
        return staffId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("ethicalReviewId", getEthicalReviewId())
            .append("ethicalReviewNumber", getEthicalReviewNumber())
            .append("newExperimentId", getNewExperimentId())
            .append("typeId", getTypeId())
            .append("ethicalReviewDate", getEthicalReviewDate())
            .append("ethicalReviewBy1", getEthicalReviewBy1())
            .append("ethicalReviewBy2", getEthicalReviewBy2())
            .append("ethicalReviewBy3", getEthicalReviewBy3())
            .append("staffId", getStaffId())
            .toString();
    }
}
